package com.xm2.demo.system.order.dao;

import com.xm2.demo.model.StateRecord;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import javax.persistence.Table;
import java.util.List;

/**
 * @Author
 * @Date 2018/12/12 21:33
 * @Description
 */
@Repository
@Table(name = "stateRecord")
@Qualifier("StateRecordRepository")
public interface StateRecordRepository extends JpaRepository<StateRecord,Integer> {
    List<StateRecord> findByOrderId(String orderId);
}
